package com.py.credit.service;

import java.util.List;
import java.util.Map;

import com.py.credit.entity.common.InspectRule;
import com.py.framework.core.common.Page;

public interface TableRuleService {

	public void add(String ruleName, String ruleDesc, String rulePackage, String ruleMethod, Long managerId,
			String time, String type, String ruleMsg);

	public void del(String ids);

	public InspectRule select(int id);

	public void modify(int id, String ruleName, String ruleDesc, String rulePackage, String ruleMethod, Long managerId,
			String time, String ruleMsg);

	public int selectSameName(String ruleName);

	public List<Map<String, Object>> getByConditionForPage(List<String> showColumns, String[] additionalColumns,
			String condition, Page page, Long tableId);

	public List<Map<String, Object>> getByCondition(String condition, List<String> columnENList);

	public List<InspectRule> getTableRules(String ruleName);

	public List<InspectRule> getBindRuleTables(Integer version, String ruleId, String resourceName, Page page);

}
